package com.jic.market.service.activity;

import com.jic.common.base.vo.Page;
import com.jic.common.base.vo.PageResult;
import com.jic.market.entity.activity.ActivityPriority;
import com.jic.market.request.ActivityPriorityRequest;

import java.lang.Long;
import java.util.List;


/**
* 活动优先级
* @author : 
* @email : 
* @since : 2020-03-15 04:32:42
* @version : v1.0.0
*/
public interface ActivityPriorityService {

    long insert(ActivityPriority activityPriority);

    long delete(Long id);

    long update(ActivityPriority activityPriority);

    ActivityPriority queryByPrimaryKey(Long id);

    List<ActivityPriority> query(ActivityPriority activityPriority);

    PageResult<ActivityPriority> queryPage(ActivityPriority activityPriority, Page pageQuery);

    Boolean updateActivityPrioritySort(ActivityPriorityRequest request);
}